},
_startupAnimationGreeter: function() {
- this._freezeUpdateRegions();
Tweener.addTween(this.panelBox,
{ translation_y: 0,
time: STARTUP_ANIMATION_TIME,
},
_startupAnimationSession: function() {
- this._freezeUpdateRegions();
this._createPrimaryBackground();
Tweener.addTween(this.uiGroup,
{ scale_x: 1,
this._createSecondaryBackgrounds();
this.emit('panel-box-changed');
- this._thawUpdateRegions();
},
showKeyboard: function () {
if (Main.sessionMode.isGreeter)
return;
- if (!this._updateRegionIdle && !this._freezeUpdateCount)
+ if (!this._updateRegionIdle)
this._updateRegionIdle = Mainloop.idle_add(Lang.bind(this, this._updateRegions),
Meta.PRIORITY_BEFORE_REDRAW);
},
- _freezeUpdateRegions: function() {
- if (this._updateRegionIdle)
- this._updateRegions();
- this._freezeUpdateCount++;
- },
-
- _thawUpdateRegions: function() {
- this._freezeUpdateCount--;
- this._queueUpdateRegions();
- },
-
_getWindowActorsForWorkspace: function(workspace) {
return global.get_window_actors().filter(function (actor) {
let win = actor.meta_window;